using System.ComponentModel.DataAnnotations;
using FreeSql.DataAnnotations;
using Yitter.IdGenerator;

namespace OrmTestDomain;
[Table(DisableSyncStructure = true)]
public class TestEntityBase
{
    [Key]
    public long Id { get; set; }=YitIdHelper.NextId();

    public long RowVersion { get; set; }=YitIdHelper.NextId();

    public DateTime CreateTime { get; set; }=DateTime.Now;
}
